package com.clay.appointment;

import com.clay.appointment.config.Constants;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.PropertySource;

/**
 * @Author : clay
 * @Description:
 * @Date: Create in 15:29 2021/7/20
 * @Modified By:
 */
@SpringBootApplication(scanBasePackages = {Constants.BASE_PACKAGE} )
@PropertySource(value = "classpath:config.properties", encoding = "UTF-8")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = Constants.BASE_PACKAGE)
public class ServiceHospitalApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospitalApplication.class, args);
    }
}
